home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
tooltip
/
tooltip.exe
/
FTEST.FR_
/
FTEST.FR
Wrap
Text File
|
1996-10-19
|
8KB
|
243 lines
VERSION 4.00
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "ToolTip Test"
ClientHeight = 3030
ClientLeft = 4035
ClientTop = 4815
ClientWidth = 5625
Height = 3390
Left = 3975
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3030
ScaleWidth = 5625
Top = 4515
Width = 5745
Begin VB.CheckBox Check1
Caption = "Check1"
Height = 195
Left = 2040
TabIndex = 18
Top = 2340
Width = 2655
End
Begin VB.PictureBox Picture1
BorderStyle = 0 'None
Height = 315
Left = 1500
ScaleHeight = 315
ScaleWidth = 3975
TabIndex = 14
Top = 1680
Width = 3975
Begin VB.OptionButton Radio
Caption = "Option1"
Height = 255
Index = 2
Left = 3000
TabIndex = 17
Top = 0
Width = 1155
End
Begin VB.OptionButton Radio
Caption = "Option1"
Height = 255
Index = 1
Left = 1440
TabIndex = 16
Top = 0
Width = 1155
End
Begin VB.OptionButton Radio
Caption = "Option1"
Height = 255
Index = 0
Left = 60
TabIndex = 15
Top = 0
Width = 1155
End
End
Begin VB.ListBox List1
Height = 1230
ItemData = "fTest.frx":0000
Left = 120
List = "fTest.frx":0002
TabIndex = 13
Top = 1680
Width = 1335
End
Begin VB.TextBox txt
Height = 285
Index = 0
Left = 120
TabIndex = 12
Top = 1260
Width = 5355
End
Begin VB.PictureBox picIcon
BorderStyle = 0 'None
Height = 480
Index = 7
Left = 4920
Picture = "fTest.frx":0004
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 11
Top = 600
Width = 480
End
Begin VB.PictureBox picIcon
BorderStyle = 0 'None
Height = 480
Index = 6
Left = 4260
Picture = "fTest.frx":0446
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 10
Top = 600
Width = 480
End
Begin VB.PictureBox picIcon
BorderStyle = 0 'None
Height = 480
Index = 5
Left = 3540
Picture = "fTest.frx":0888
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 9
Top = 600
Width = 480
End
Begin VB.PictureBox picIcon
BorderStyle = 0 'None
Height = 480
Index = 4
Left = 2880
Picture = "fTest.frx":0CCA
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 8
Top = 600
Width = 480
End
Begin VB.PictureBox picIcon
BorderStyle = 0 'None
Height = 480
Index = 3
Left = 2160
Picture = "fTest.frx":110C
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 7
Top = 600
Width = 480
End
Begin VB.PictureBox picIcon
BorderStyle = 0 'None
Height = 480
Index = 2
Left = 1500
Picture = "fTest.frx":154E
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 6
Top = 600
Width = 480
End
Begin VB.PictureBox picIcon
BorderStyle = 0 'None
Height = 480
Index = 1
Left = 780
Picture = "fTest.frx":1990
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 5
Top = 600
Width = 480
End
Begin VB.PictureBox picIcon
BorderStyle = 0 'None
Height = 480
Index = 0
Left = 120
Picture = "fTest.frx":1DD2
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 4
Top = 600
Width = 480
End
Begin VB.CommandButton btn
Caption = "Button"
Height = 435
Index = 3
Left = 4200
TabIndex = 3
Top = 120
Width = 1335
End
Begin VB.CommandButton btn
Caption = "Button"
Height = 435
Index = 2
Left = 2820
TabIndex = 2
Top = 120
Width = 1335
End
Begin VB.CommandButton btn
Caption = "Button"
Height = 435
Index = 1
Left = 1440
TabIndex = 1
Top = 120
Width = 1335
End
Begin VB.CommandButton btn
Caption = "Button"
Height = 435
Index = 0
Left = 60
TabIndex = 0
Top = 120
Width = 1335
End
End
Attribute VB_Name = "Form1"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Option Explicit
Private tt As New cToolTip
Private Sub btn_MouseMove(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
tt.setcontrol btn(Index).hWnd, "Button " + Format$(Index)
End Sub
Private Sub Check1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
tt.setcontrol Check1.hWnd, "Check"
End Sub
Private Sub List1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
tt.setcontrol List1.hWnd, "List"
End Sub
Private Sub Radio_MouseMove(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
tt.setcontrol Radio(Index).hWnd, "Radio " + Format$(Index)
End Sub
Private Sub picIcon_MouseMove(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
tt.setcontrol picIcon(Index).hWnd, "Icon " + Format$(Index)
End Sub
Private Sub txt_MouseMove(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
tt.setcontrol txt(Index).hWnd, "Text Box " + Format$(Index)
End Sub